<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <div id="registerLayout">
    	<input type="image" src="<%=request.getContextPath()%>/images/btnLostId.png" title="ID/PW 찾기" onclick="javascript:alarm('준비중입니다:)');return false;" >
    	<input type="image" src="<%=request.getContextPath()%>/images/btnRegister.png" title="회원가입" onclick="javascript:getRegForm();return false;" >
    </div>
	<%if(session.isNew() || session.getAttribute("SESSION_MEMBER_SEQ")==null){ %>
	<div id="loginBtn">
		<input type="image" src="<%=request.getContextPath()%>/images/btnLogin.png" title="Login" onclick="javascript:getLoginForm();return false;"/>
	</div>
	<div id="loginForm">
		<div>
			<form action="jsp/commons/loginProc.jsp" method="post" onsubmit="return checkLoginForm();" target="ifr">
			ID:<input type="text" value="" name="input_id" id="login_id">
			PW:<input type="password"  name="input_password" id="login_pw">
			<input type="image" src="<%=request.getContextPath()%>/images/btnLogin.png" title="Login"/>
			</form>
		</div>
	</div>
	<%}else{ %>
	<div id="myInfoLayer">
		<input type="image" src="<%=request.getContextPath()%>/images/btnScrap.png" title="스크랩" onclick="javascript:alarm('준비중입니다:)');return false;" >
    	<input type="image" src="<%=request.getContextPath()%>/images/btnMyInfo.png" title="내 정보" onclick="javascript:alarm('준비중입니다:)');return false;" >
	</div>
	<div id="logoutForm">
		<span><%=session.getAttribute("SESSION_MEMBER_NICK")%></span> 님아 하이~
		<input type="button" value="로그아웃" onclick="javascript:tryLogout();">
	</div>
	<%} %>